
package com.jf.cloud.common.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

/**
 * 购物车VO
 *
 * @author zz
 * @date 2020-11-20 15:47:32
 */
public class ShopCartVO {

    @Schema(description = "店铺ID" , required = true)
    private Long shopId;

    @Schema(description = "店铺名称" , required = true)
    private String shopName;

    @Schema(description = "店铺类型1自营店 2普通店" )
    private Integer shopType;

    @Schema(description = "购物车满减活动携带的商品" , required = true)
    private List<ShopCartItemDiscountVO> shopCartItemDiscounts;

    @Schema(description = "店铺优惠金额(促销活动 + 优惠券 + 积分优惠金额 + 其他)" , required = true)
    private Long shopReduce;

    @Schema(description = "促销活动优惠金额" , required = true)
    private Long discountReduce;

    @Schema(description = "实际总值(商品总值 - 优惠)" , required = true)
    private Long actualTotal;

    @Schema(description = "商品总值" , required = true)
    private Long total;

    @Schema(description = "商品积分总值" )
    private Long scoreTotal;

    @Schema(description = "整个店铺可以使用的优惠券列表" , required = true)
    private List<CouponOrderVO> coupons;

    @Schema(description = "优惠券优惠金额" , required = true)
    private Long couponReduce;

    @Schema(description = "数量" , required = true)
    private Integer totalCount;

    @Schema(description = "运费" , required = true)
    private Long transfee;

    @Schema(description = "等级免运费金额" , required = true)
    private Long freeTransfee;

    @Schema(description = "套餐优惠金额" , required = true)
    private Long shopComboAmount;

    public Long getShopComboAmount() {
        return shopComboAmount;
    }

    public void setShopComboAmount(Long shopComboAmount) {
        this.shopComboAmount = shopComboAmount;
    }

    public Long getFreeTransfee() {
        return freeTransfee;
    }

    public void setFreeTransfee(Long freeTransfee) {
        this.freeTransfee = freeTransfee;
    }

    public Long getTransfee() {
        return transfee;
    }

    public void setTransfee(Long transfee) {
        this.transfee = transfee;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public List<ShopCartItemDiscountVO> getShopCartItemDiscounts() {
        return shopCartItemDiscounts;
    }

    public void setShopCartItemDiscounts(List<ShopCartItemDiscountVO> shopCartItemDiscounts) {
        this.shopCartItemDiscounts = shopCartItemDiscounts;
    }

    public Long getShopReduce() {
        return shopReduce;
    }

    public void setShopReduce(Long shopReduce) {
        this.shopReduce = shopReduce;
    }

    public Long getDiscountReduce() {
        return discountReduce;
    }

    public void setDiscountReduce(Long discountReduce) {
        this.discountReduce = discountReduce;
    }

    public Long getActualTotal() {
        return actualTotal;
    }

    public void setActualTotal(Long actualTotal) {
        this.actualTotal = actualTotal;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Long getCouponReduce() {
        return couponReduce;
    }

    public void setCouponReduce(Long couponReduce) {
        this.couponReduce = couponReduce;
    }

    public List<CouponOrderVO> getCoupons() {
        return coupons;
    }

    public void setCoupons(List<CouponOrderVO> coupons) {
        this.coupons = coupons;
    }

    public Integer getShopType() {
        return shopType;
    }

    public void setShopType(Integer shopType) {
        this.shopType = shopType;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public Long getScoreTotal() {
        return scoreTotal;
    }

    public void setScoreTotal(Long scoreTotal) {
        this.scoreTotal = scoreTotal;
    }

    @Override
    public String toString() {
        return "ShopCartVO{" +
                "shopId=" + shopId +
                ", shopName='" + shopName + '\'' +
                ", shopType=" + shopType +
                ", shopCartItemDiscounts=" + shopCartItemDiscounts +
                ", shopReduce=" + shopReduce +
                ", discountReduce=" + discountReduce +
                ", actualTotal=" + actualTotal +
                ", total=" + total +
                ", scoreTotal=" + scoreTotal +
                ", coupons=" + coupons +
                ", couponReduce=" + couponReduce +
                ", totalCount=" + totalCount +
                ", transfee=" + transfee +
                ", freeTransfee=" + freeTransfee +
                '}';
    }
}
